package com.ybkj.o2o.zhuanche.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderCriteria {
  protected String orderByClause;

  protected boolean distinct;

  protected List<Criteria> oredCriteria;

  public OrderCriteria() {
    oredCriteria = new ArrayList<Criteria>();
  }

  public void setOrderByClause(String orderByClause) {
    this.orderByClause = orderByClause;
  }

  public String getOrderByClause() {
    return orderByClause;
  }

  public void setDistinct(boolean distinct) {
    this.distinct = distinct;
  }

  public boolean isDistinct() {
    return distinct;
  }

  public List<Criteria> getOredCriteria() {
    return oredCriteria;
  }

  public void or(Criteria criteria) {
    oredCriteria.add(criteria);
  }
  /**
   * 拼接查询条件.
   */
  
  public Criteria or() {
    Criteria criteria = createCriteriaInternal();
    oredCriteria.add(criteria);
    return criteria;
  }
  /**
   * 拼接查询条件.
   */
  
  public Criteria createCriteria() {
    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    Criteria criteria = new Criteria();
    return criteria;
  }
  /**
   * 拼接查询条件.
   */
  
  public void clear() {
    oredCriteria.clear();
    orderByClause = null;
    distinct = false;
  }

  protected abstract static class GeneratedCriteria {
    protected List<Criterion> criteria;

    protected GeneratedCriteria() {
      super();
      criteria = new ArrayList<Criterion>();
    }

    public boolean isValid() {
      return criteria.size() > 0;
    }

    public List<Criterion> getAllCriteria() {
      return criteria;
    }

    public List<Criterion> getCriteria() {
      return criteria;
    }

    protected void addCriterion(String condition) {
      if (condition == null) {
        throw new RuntimeException("Value for condition cannot be null");
      }
      criteria.add(new Criterion(condition));
    }

    protected void addCriterion(String condition, Object value, String property) {
      if (value == null) {
        throw new RuntimeException("Value for " + property + " cannot be null");
      }
      criteria.add(new Criterion(condition, value));
    }

    protected void addCriterion(String condition, Object value1, Object value2, String property) {
      if (value1 == null || value2 == null) {
        throw new RuntimeException("Between values for " + property + " cannot be null");
      }
      criteria.add(new Criterion(condition, value1, value2));
    }

    public Criteria andIdIsNull() {
      addCriterion("id is null");
      return (Criteria) this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion("id is not null");
      return (Criteria) this;
    }

    public Criteria andIdEqualTo(Long value) {
      addCriterion("id =", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdNotEqualTo(Long value) {
      addCriterion("id <>", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdGreaterThan(Long value) {
      addCriterion("id >", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdGreaterThanOrEqualTo(Long value) {
      addCriterion("id >=", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdLessThan(Long value) {
      addCriterion("id <", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdLessThanOrEqualTo(Long value) {
      addCriterion("id <=", value, "id");
      return (Criteria) this;
    }

    public Criteria andIdIn(List<Long> values) {
      addCriterion("id in", values, "id");
      return (Criteria) this;
    }

    public Criteria andIdNotIn(List<Long> values) {
      addCriterion("id not in", values, "id");
      return (Criteria) this;
    }

    public Criteria andIdBetween(Long value1, Long value2) {
      addCriterion("id between", value1, value2, "id");
      return (Criteria) this;
    }

    public Criteria andIdNotBetween(Long value1, Long value2) {
      addCriterion("id not between", value1, value2, "id");
      return (Criteria) this;
    }

    public Criteria andOrderNoIsNull() {
      addCriterion("orderNo is null");
      return (Criteria) this;
    }

    public Criteria andOrderNoIsNotNull() {
      addCriterion("orderNo is not null");
      return (Criteria) this;
    }

    public Criteria andOrderNoEqualTo(String value) {
      addCriterion("orderNo =", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoNotEqualTo(String value) {
      addCriterion("orderNo <>", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoGreaterThan(String value) {
      addCriterion("orderNo >", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
      addCriterion("orderNo >=", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoLessThan(String value) {
      addCriterion("orderNo <", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoLessThanOrEqualTo(String value) {
      addCriterion("orderNo <=", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoLike(String value) {
      addCriterion("orderNo like", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoNotLike(String value) {
      addCriterion("orderNo not like", value, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoIn(List<String> values) {
      addCriterion("orderNo in", values, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoNotIn(List<String> values) {
      addCriterion("orderNo not in", values, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoBetween(String value1, String value2) {
      addCriterion("orderNo between", value1, value2, "orderNo");
      return (Criteria) this;
    }

    public Criteria andOrderNoNotBetween(String value1, String value2) {
      addCriterion("orderNo not between", value1, value2, "orderNo");
      return (Criteria) this;
    }

    public Criteria andPassengerIdIsNull() {
      addCriterion("passengerId is null");
      return (Criteria) this;
    }

    public Criteria andPassengerIdIsNotNull() {
      addCriterion("passengerId is not null");
      return (Criteria) this;
    }

    public Criteria andPassengerIdEqualTo(Long value) {
      addCriterion("passengerId =", value, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdNotEqualTo(Long value) {
      addCriterion("passengerId <>", value, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdGreaterThan(Long value) {
      addCriterion("passengerId >", value, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdGreaterThanOrEqualTo(Long value) {
      addCriterion("passengerId >=", value, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdLessThan(Long value) {
      addCriterion("passengerId <", value, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdLessThanOrEqualTo(Long value) {
      addCriterion("passengerId <=", value, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdIn(List<Long> values) {
      addCriterion("passengerId in", values, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdNotIn(List<Long> values) {
      addCriterion("passengerId not in", values, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdBetween(Long value1, Long value2) {
      addCriterion("passengerId between", value1, value2, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerIdNotBetween(Long value1, Long value2) {
      addCriterion("passengerId not between", value1, value2, "passengerId");
      return (Criteria) this;
    }

    public Criteria andPassengerNameIsNull() {
      addCriterion("passengerName is null");
      return (Criteria) this;
    }

    public Criteria andPassengerNameIsNotNull() {
      addCriterion("passengerName is not null");
      return (Criteria) this;
    }

    public Criteria andPassengerNameEqualTo(String value) {
      addCriterion("passengerName =", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameNotEqualTo(String value) {
      addCriterion("passengerName <>", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameGreaterThan(String value) {
      addCriterion("passengerName >", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameGreaterThanOrEqualTo(String value) {
      addCriterion("passengerName >=", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameLessThan(String value) {
      addCriterion("passengerName <", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameLessThanOrEqualTo(String value) {
      addCriterion("passengerName <=", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameLike(String value) {
      addCriterion("passengerName like", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameNotLike(String value) {
      addCriterion("passengerName not like", value, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameIn(List<String> values) {
      addCriterion("passengerName in", values, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameNotIn(List<String> values) {
      addCriterion("passengerName not in", values, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameBetween(String value1, String value2) {
      addCriterion("passengerName between", value1, value2, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerNameNotBetween(String value1, String value2) {
      addCriterion("passengerName not between", value1, value2, "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneIsNull() {
      addCriterion("passengerPhone is null");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneIsNotNull() {
      addCriterion("passengerPhone is not null");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneEqualTo(String value) {
      addCriterion("passengerPhone =", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneNotEqualTo(String value) {
      addCriterion("passengerPhone <>", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneGreaterThan(String value) {
      addCriterion("passengerPhone >", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneGreaterThanOrEqualTo(String value) {
      addCriterion("passengerPhone >=", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneLessThan(String value) {
      addCriterion("passengerPhone <", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneLessThanOrEqualTo(String value) {
      addCriterion("passengerPhone <=", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneLike(String value) {
      addCriterion("passengerPhone like", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneNotLike(String value) {
      addCriterion("passengerPhone not like", value, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneIn(List<String> values) {
      addCriterion("passengerPhone in", values, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneNotIn(List<String> values) {
      addCriterion("passengerPhone not in", values, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneBetween(String value1, String value2) {
      addCriterion("passengerPhone between", value1, value2, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneNotBetween(String value1, String value2) {
      addCriterion("passengerPhone not between", value1, value2, "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andCarIdIsNull() {
      addCriterion("carId is null");
      return (Criteria) this;
    }

    public Criteria andCarIdIsNotNull() {
      addCriterion("carId is not null");
      return (Criteria) this;
    }

    public Criteria andCarIdEqualTo(Long value) {
      addCriterion("carId =", value, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdNotEqualTo(Long value) {
      addCriterion("carId <>", value, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdGreaterThan(Long value) {
      addCriterion("carId >", value, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdGreaterThanOrEqualTo(Long value) {
      addCriterion("carId >=", value, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdLessThan(Long value) {
      addCriterion("carId <", value, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdLessThanOrEqualTo(Long value) {
      addCriterion("carId <=", value, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdIn(List<Long> values) {
      addCriterion("carId in", values, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdNotIn(List<Long> values) {
      addCriterion("carId not in", values, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdBetween(Long value1, Long value2) {
      addCriterion("carId between", value1, value2, "carId");
      return (Criteria) this;
    }

    public Criteria andCarIdNotBetween(Long value1, Long value2) {
      addCriterion("carId not between", value1, value2, "carId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdIsNull() {
      addCriterion("carTypeId is null");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdIsNotNull() {
      addCriterion("carTypeId is not null");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdEqualTo(Long value) {
      addCriterion("carTypeId =", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdNotEqualTo(Long value) {
      addCriterion("carTypeId <>", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdGreaterThan(Long value) {
      addCriterion("carTypeId >", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdGreaterThanOrEqualTo(Long value) {
      addCriterion("carTypeId >=", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdLessThan(Long value) {
      addCriterion("carTypeId <", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdLessThanOrEqualTo(Long value) {
      addCriterion("carTypeId <=", value, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdIn(List<Long> values) {
      addCriterion("carTypeId in", values, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdNotIn(List<Long> values) {
      addCriterion("carTypeId not in", values, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdBetween(Long value1, Long value2) {
      addCriterion("carTypeId between", value1, value2, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarTypeIdNotBetween(Long value1, Long value2) {
      addCriterion("carTypeId not between", value1, value2, "carTypeId");
      return (Criteria) this;
    }

    public Criteria andCarNumberIsNull() {
      addCriterion("carNumber is null");
      return (Criteria) this;
    }

    public Criteria andCarNumberIsNotNull() {
      addCriterion("carNumber is not null");
      return (Criteria) this;
    }

    public Criteria andCarNumberEqualTo(String value) {
      addCriterion("carNumber =", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotEqualTo(String value) {
      addCriterion("carNumber <>", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberGreaterThan(String value) {
      addCriterion("carNumber >", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberGreaterThanOrEqualTo(String value) {
      addCriterion("carNumber >=", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberLessThan(String value) {
      addCriterion("carNumber <", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberLessThanOrEqualTo(String value) {
      addCriterion("carNumber <=", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberLike(String value) {
      addCriterion("carNumber like", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCreateOrderNameLike(String value) {
      addCriterion("createOrderName like", value, "createOrderName");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotLike(String value) {
      addCriterion("carNumber not like", value, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberIn(List<String> values) {
      addCriterion("carNumber in", values, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotIn(List<String> values) {
      addCriterion("carNumber not in", values, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberBetween(String value1, String value2) {
      addCriterion("carNumber between", value1, value2, "carNumber");
      return (Criteria) this;
    }

    public Criteria andCarNumberNotBetween(String value1, String value2) {
      addCriterion("carNumber not between", value1, value2, "carNumber");
      return (Criteria) this;
    }

    public Criteria andChannelIdIsNull() {
      addCriterion("channelId is null");
      return (Criteria) this;
    }

    public Criteria andChannelIdIsNotNull() {
      addCriterion("channelId is not null");
      return (Criteria) this;
    }

    public Criteria andChannelIdEqualTo(Long value) {
      addCriterion("channelId =", value, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdNotEqualTo(Long value) {
      addCriterion("channelId <>", value, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdGreaterThan(Long value) {
      addCriterion("channelId >", value, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdGreaterThanOrEqualTo(Long value) {
      addCriterion("channelId >=", value, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdLessThan(Long value) {
      addCriterion("channelId <", value, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdLessThanOrEqualTo(Long value) {
      addCriterion("channelId <=", value, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdIn(List<Long> values) {
      addCriterion("channelId in", values, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdNotIn(List<Long> values) {
      addCriterion("channelId not in", values, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdBetween(Long value1, Long value2) {
      addCriterion("channelId between", value1, value2, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelIdNotBetween(Long value1, Long value2) {
      addCriterion("channelId not between", value1, value2, "channelId");
      return (Criteria) this;
    }

    public Criteria andChannelNameIsNull() {
      addCriterion("channelName is null");
      return (Criteria) this;
    }

    public Criteria andChannelNameIsNotNull() {
      addCriterion("channelName is not null");
      return (Criteria) this;
    }

    public Criteria andChannelNameEqualTo(String value) {
      addCriterion("channelName =", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameNotEqualTo(String value) {
      addCriterion("channelName <>", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameGreaterThan(String value) {
      addCriterion("channelName >", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameGreaterThanOrEqualTo(String value) {
      addCriterion("channelName >=", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameLessThan(String value) {
      addCriterion("channelName <", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameLessThanOrEqualTo(String value) {
      addCriterion("channelName <=", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameLike(String value) {
      addCriterion("channelName like", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameNotLike(String value) {
      addCriterion("channelName not like", value, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameIn(List<String> values) {
      addCriterion("channelName in", values, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameNotIn(List<String> values) {
      addCriterion("channelName not in", values, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameBetween(String value1, String value2) {
      addCriterion("channelName between", value1, value2, "channelName");
      return (Criteria) this;
    }

    public Criteria andChannelNameNotBetween(String value1, String value2) {
      addCriterion("channelName not between", value1, value2, "channelName");
      return (Criteria) this;
    }

    public Criteria andStatusIsNull() {
      addCriterion("status is null");
      return (Criteria) this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion("status is not null");
      return (Criteria) this;
    }

    public Criteria andStatusEqualTo(Integer value) {
      addCriterion("status =", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusNotEqualTo(Integer value) {
      addCriterion("status <>", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusGreaterThan(Integer value) {
      addCriterion("status >", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
      addCriterion("status >=", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusLessThan(Integer value) {
      addCriterion("status <", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusLessThanOrEqualTo(Integer value) {
      addCriterion("status <=", value, "status");
      return (Criteria) this;
    }

    public Criteria andStatusIn(List<Integer> values) {
      addCriterion("status in", values, "status");
      return (Criteria) this;
    }

    public Criteria andStatusNotIn(List<Integer> values) {
      addCriterion("status not in", values, "status");
      return (Criteria) this;
    }

    public Criteria andStatusBetween(Integer value1, Integer value2) {
      addCriterion("status between", value1, value2, "status");
      return (Criteria) this;
    }

    public Criteria andStatusNotBetween(Integer value1, Integer value2) {
      addCriterion("status not between", value1, value2, "status");
      return (Criteria) this;
    }

    public Criteria andEmployIdIsNull() {
      addCriterion("employId is null");
      return (Criteria) this;
    }

    public Criteria andEmployIdIsNotNull() {
      addCriterion("employId is not null");
      return (Criteria) this;
    }

    public Criteria andTreatmentEqualTo(boolean value) {
      addCriterion("treatment =", value, "treatment");
      return (Criteria) this;
    }

    public Criteria andTreatmentNotEqualTo(boolean value) {
      addCriterion("treatment <>", value, "treatment");
      return (Criteria) this;
    }

    public Criteria andEmployIdEqualTo(Long value) {
      addCriterion("employId =", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployNoEqualTo(String value) {
      addCriterion("employNo =", value, "employNo");
      return (Criteria) this;
    }

    public Criteria andEmployPhotoEqualTo(String value) {
      addCriterion("employPhoto =", value, "employPhoto");
      return (Criteria) this;
    }

    public Criteria andEmployScoreEqualTo(Double value) {
      addCriterion("employScore =", value, "employScore");
      return (Criteria) this;
    }

    public Criteria andEmployIdNotEqualTo(Long value) {
      addCriterion("employId <>", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdGreaterThan(Long value) {
      addCriterion("employId >", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdGreaterThanOrEqualTo(Long value) {
      addCriterion("employId >=", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdLessThan(Long value) {
      addCriterion("employId <", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdLessThanOrEqualTo(Long value) {
      addCriterion("employId <=", value, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdIn(List<Long> values) {
      addCriterion("employId in", values, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdNotIn(List<Long> values) {
      addCriterion("employId not in", values, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdBetween(Long value1, Long value2) {
      addCriterion("employId between", value1, value2, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployIdNotBetween(Long value1, Long value2) {
      addCriterion("employId not between", value1, value2, "employId");
      return (Criteria) this;
    }

    public Criteria andEmployNameIsNull() {
      addCriterion("employName is null");
      return (Criteria) this;
    }

    public Criteria andEmployNameIsNotNull() {
      addCriterion("employName is not null");
      return (Criteria) this;
    }

    public Criteria andEmployNameEqualTo(String value) {
      addCriterion("employName =", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotEqualTo(String value) {
      addCriterion("employName <>", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameGreaterThan(String value) {
      addCriterion("employName >", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameGreaterThanOrEqualTo(String value) {
      addCriterion("employName >=", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLessThan(String value) {
      addCriterion("employName <", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLessThanOrEqualTo(String value) {
      addCriterion("employName <=", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLike(String value) {
      addCriterion("employName like", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotLike(String value) {
      addCriterion("employName not like", value, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameIn(List<String> values) {
      addCriterion("employName in", values, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotIn(List<String> values) {
      addCriterion("employName not in", values, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameBetween(String value1, String value2) {
      addCriterion("employName between", value1, value2, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployNameNotBetween(String value1, String value2) {
      addCriterion("employName not between", value1, value2, "employName");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneIsNull() {
      addCriterion("employPhone is null");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneIsNotNull() {
      addCriterion("employPhone is not null");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneEqualTo(String value) {
      addCriterion("employPhone =", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneNotEqualTo(String value) {
      addCriterion("employPhone <>", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneGreaterThan(String value) {
      addCriterion("employPhone >", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneGreaterThanOrEqualTo(String value) {
      addCriterion("employPhone >=", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneLessThan(String value) {
      addCriterion("employPhone <", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneLessThanOrEqualTo(String value) {
      addCriterion("employPhone <=", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneLike(String value) {
      addCriterion("employPhone like", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneNotLike(String value) {
      addCriterion("employPhone not like", value, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneIn(List<String> values) {
      addCriterion("employPhone in", values, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneNotIn(List<String> values) {
      addCriterion("employPhone not in", values, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneBetween(String value1, String value2) {
      addCriterion("employPhone between", value1, value2, "employPhone");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneNotBetween(String value1, String value2) {
      addCriterion("employPhone not between", value1, value2, "employPhone");
      return (Criteria) this;
    }

    public Criteria andCompanyIdIsNull() {
      addCriterion("companyId is null");
      return (Criteria) this;
    }

    public Criteria andCompanyIdIsNotNull() {
      addCriterion("companyId is not null");
      return (Criteria) this;
    }

    public Criteria andCompanyIdEqualTo(Long value) {
      addCriterion("companyId =", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdNotEqualTo(Long value) {
      addCriterion("companyId <>", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdGreaterThan(Long value) {
      addCriterion("companyId >", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdGreaterThanOrEqualTo(Long value) {
      addCriterion("companyId >=", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdLessThan(Long value) {
      addCriterion("companyId <", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdLessThanOrEqualTo(Long value) {
      addCriterion("companyId <=", value, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdIn(List<Long> values) {
      addCriterion("companyId in", values, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdNotIn(List<Long> values) {
      addCriterion("companyId not in", values, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdBetween(Long value1, Long value2) {
      addCriterion("companyId between", value1, value2, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyIdNotBetween(Long value1, Long value2) {
      addCriterion("companyId not between", value1, value2, "companyId");
      return (Criteria) this;
    }

    public Criteria andCompanyNameIsNull() {
      addCriterion("companyName is null");
      return (Criteria) this;
    }

    public Criteria andCompanyNameIsNotNull() {
      addCriterion("companyName is not null");
      return (Criteria) this;
    }

    public Criteria andCompanyNameEqualTo(String value) {
      addCriterion("companyName =", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotEqualTo(String value) {
      addCriterion("companyName <>", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameGreaterThan(String value) {
      addCriterion("companyName >", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
      addCriterion("companyName >=", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLessThan(String value) {
      addCriterion("companyName <", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLessThanOrEqualTo(String value) {
      addCriterion("companyName <=", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLike(String value) {
      addCriterion("companyName like", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotLike(String value) {
      addCriterion("companyName not like", value, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameIn(List<String> values) {
      addCriterion("companyName in", values, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotIn(List<String> values) {
      addCriterion("companyName not in", values, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameBetween(String value1, String value2) {
      addCriterion("companyName between", value1, value2, "companyName");
      return (Criteria) this;
    }

    public Criteria andCompanyNameNotBetween(String value1, String value2) {
      addCriterion("companyName not between", value1, value2, "companyName");
      return (Criteria) this;
    }

    public Criteria andAppkeyIsNull() {
      addCriterion("appkey is null");
      return (Criteria) this;
    }

    public Criteria andAppkeyIsNotNull() {
      addCriterion("appkey is not null");
      return (Criteria) this;
    }

    public Criteria andAppkeyEqualTo(String value) {
      addCriterion("appkey =", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andGroupIdEqualTo(Long value) {
      addCriterion("groupId =", value, "groupId");
      return (Criteria) this;
    }

    public Criteria andAppkeyNotEqualTo(String value) {
      addCriterion("appkey <>", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyGreaterThan(String value) {
      addCriterion("appkey >", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyGreaterThanOrEqualTo(String value) {
      addCriterion("appkey >=", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyLessThan(String value) {
      addCriterion("appkey <", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyLessThanOrEqualTo(String value) {
      addCriterion("appkey <=", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyLike(String value) {
      addCriterion("appkey like", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyNotLike(String value) {
      addCriterion("appkey not like", value, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyIn(List<String> values) {
      addCriterion("appkey in", values, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyNotIn(List<String> values) {
      addCriterion("appkey not in", values, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyBetween(String value1, String value2) {
      addCriterion("appkey between", value1, value2, "appkey");
      return (Criteria) this;
    }

    public Criteria andAppkeyNotBetween(String value1, String value2) {
      addCriterion("appkey not between", value1, value2, "appkey");
      return (Criteria) this;
    }

    public Criteria andCreatedIsNull() {
      addCriterion("created is null");
      return (Criteria) this;
    }

    public Criteria andCreatedIsNotNull() {
      addCriterion("created is not null");
      return (Criteria) this;
    }

    public Criteria andCreatedEqualTo(Date value) {
      addCriterion("created =", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedNotEqualTo(Date value) {
      addCriterion("created <>", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedGreaterThan(Date value) {
      addCriterion("created >", value, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
      addCriterion("created >=", value, "created");
      return (Criteria) this;
    }

    public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) {
      addCriterion("finishTime >=", value, "finishTime");
      return (Criteria) this;
    }

    public Criteria andCreatedLessThan(Date value) {
      addCriterion("created <", value, "created");
      return (Criteria) this;
    }

    public Criteria andFinishTimeLessThan(Date value) {
      addCriterion("finishTime <", value, "finishTime");
      return (Criteria) this;
    }

    public Criteria andCreatedLessThanOrEqualTo(Date value) {
      addCriterion("created <=", value, "created");
      return (Criteria) this;
    }

    public Criteria andFinishTimeLessThanOrEqualTo(Date value) {
      addCriterion("finishTime <=", value, "finishTime");
      return (Criteria) this;
    }

    public Criteria andCreatedIn(List<Date> values) {
      addCriterion("created in", values, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedNotIn(List<Date> values) {
      addCriterion("created not in", values, "created");
      return (Criteria) this;
    }

    public Criteria andCreatedBetween(Date value1, Date value2) {
      addCriterion("created between", value1, value2, "created");
      return (Criteria) this;
    }

    public Criteria andFinishTimeBetween(Date value1, Date value2) {
      addCriterion("finishTime between", value1, value2, "finishTime");
      return (Criteria) this;
    }

    public Criteria andCreatedNotBetween(Date value1, Date value2) {
      addCriterion("created not between", value1, value2, "created");
      return (Criteria) this;
    }

    public Criteria andUpdatedIsNull() {
      addCriterion("updated is null");
      return (Criteria) this;
    }

    public Criteria andUpdatedIsNotNull() {
      addCriterion("updated is not null");
      return (Criteria) this;
    }

    public Criteria andUpdatedEqualTo(Date value) {
      addCriterion("updated =", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedNotEqualTo(Date value) {
      addCriterion("updated <>", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedGreaterThan(Date value) {
      addCriterion("updated >", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
      addCriterion("updated >=", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedLessThan(Date value) {
      addCriterion("updated <", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedLessThanOrEqualTo(Date value) {
      addCriterion("updated <=", value, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedIn(List<Date> values) {
      addCriterion("updated in", values, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedNotIn(List<Date> values) {
      addCriterion("updated not in", values, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedBetween(Date value1, Date value2) {
      addCriterion("updated between", value1, value2, "updated");
      return (Criteria) this;
    }

    public Criteria andUpdatedNotBetween(Date value1, Date value2) {
      addCriterion("updated not between", value1, value2, "updated");
      return (Criteria) this;
    }

    public Criteria andIsClosedIsNull() {
      addCriterion("isClosed is null");
      return (Criteria) this;
    }

    public Criteria andIsClosedIsNotNull() {
      addCriterion("isClosed is not null");
      return (Criteria) this;
    }

    public Criteria andIsClosedEqualTo(Boolean value) {
      addCriterion("isClosed =", value, "isClosed");
      return (Criteria) this;
    }

    public Criteria andFirstOrderFreeEqualTo(Boolean value) {
      addCriterion("firstOrderFree =", value, "firstOrderFree");
      return (Criteria) this;
    }

    public Criteria andIsClosedNotEqualTo(Boolean value) {
      addCriterion("isClosed <>", value, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedGreaterThan(Boolean value) {
      addCriterion("isClosed >", value, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedGreaterThanOrEqualTo(Boolean value) {
      addCriterion("isClosed >=", value, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedLessThan(Boolean value) {
      addCriterion("isClosed <", value, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedLessThanOrEqualTo(Boolean value) {
      addCriterion("isClosed <=", value, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedIn(List<Boolean> values) {
      addCriterion("isClosed in", values, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedNotIn(List<Boolean> values) {
      addCriterion("isClosed not in", values, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedBetween(Boolean value1, Boolean value2) {
      addCriterion("isClosed between", value1, value2, "isClosed");
      return (Criteria) this;
    }

    public Criteria andIsClosedNotBetween(Boolean value1, Boolean value2) {
      addCriterion("isClosed not between", value1, value2, "isClosed");
      return (Criteria) this;
    }

    public Criteria andReviewIsNull() {
      addCriterion("review is null");
      return (Criteria) this;
    }

    public Criteria andReviewIsNotNull() {
      addCriterion("review is not null");
      return (Criteria) this;
    }

    public Criteria andReviewEqualTo(Boolean value) {
      addCriterion("review =", value, "review");
      return (Criteria) this;
    }

    public Criteria andReviewNotEqualTo(Boolean value) {
      addCriterion("review <>", value, "review");
      return (Criteria) this;
    }

    public Criteria andReviewGreaterThan(Boolean value) {
      addCriterion("review >", value, "review");
      return (Criteria) this;
    }

    public Criteria andReviewGreaterThanOrEqualTo(Boolean value) {
      addCriterion("review >=", value, "review");
      return (Criteria) this;
    }

    public Criteria andReviewLessThan(Boolean value) {
      addCriterion("review <", value, "review");
      return (Criteria) this;
    }

    public Criteria andReviewLessThanOrEqualTo(Boolean value) {
      addCriterion("review <=", value, "review");
      return (Criteria) this;
    }

    public Criteria andReviewIn(List<Boolean> values) {
      addCriterion("review in", values, "review");
      return (Criteria) this;
    }

    public Criteria andReviewNotIn(List<Boolean> values) {
      addCriterion("review not in", values, "review");
      return (Criteria) this;
    }

    public Criteria andReviewBetween(Boolean value1, Boolean value2) {
      addCriterion("review between", value1, value2, "review");
      return (Criteria) this;
    }

    public Criteria andReviewNotBetween(Boolean value1, Boolean value2) {
      addCriterion("review not between", value1, value2, "review");
      return (Criteria) this;
    }

    public Criteria andVersionIsNull() {
      addCriterion("version is null");
      return (Criteria) this;
    }

    public Criteria andVersionIsNotNull() {
      addCriterion("version is not null");
      return (Criteria) this;
    }

    public Criteria andVersionEqualTo(Long value) {
      addCriterion("version =", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionNotEqualTo(Long value) {
      addCriterion("version <>", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionGreaterThan(Long value) {
      addCriterion("version >", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionGreaterThanOrEqualTo(Long value) {
      addCriterion("version >=", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionLessThan(Long value) {
      addCriterion("version <", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionLessThanOrEqualTo(Long value) {
      addCriterion("version <=", value, "version");
      return (Criteria) this;
    }

    public Criteria andVersionIn(List<Long> values) {
      addCriterion("version in", values, "version");
      return (Criteria) this;
    }

    public Criteria andVersionNotIn(List<Long> values) {
      addCriterion("version not in", values, "version");
      return (Criteria) this;
    }

    public Criteria andVersionBetween(Long value1, Long value2) {
      addCriterion("version between", value1, value2, "version");
      return (Criteria) this;
    }

    public Criteria andVersionNotBetween(Long value1, Long value2) {
      addCriterion("version not between", value1, value2, "version");
      return (Criteria) this;
    }

    public Criteria andCancelCauseIsNull() {
      addCriterion("cancelCause is null");
      return (Criteria) this;
    }

    public Criteria andCancelCauseIsNotNull() {
      addCriterion("cancelCause is not null");
      return (Criteria) this;
    }

    public Criteria andCancelCauseEqualTo(String value) {
      addCriterion("cancelCause =", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseNotEqualTo(String value) {
      addCriterion("cancelCause <>", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseGreaterThan(String value) {
      addCriterion("cancelCause >", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseGreaterThanOrEqualTo(String value) {
      addCriterion("cancelCause >=", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseLessThan(String value) {
      addCriterion("cancelCause <", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseLessThanOrEqualTo(String value) {
      addCriterion("cancelCause <=", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseLike(String value) {
      addCriterion("cancelCause like", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseNotLike(String value) {
      addCriterion("cancelCause not like", value, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseIn(List<String> values) {
      addCriterion("cancelCause in", values, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseNotIn(List<String> values) {
      addCriterion("cancelCause not in", values, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseBetween(String value1, String value2) {
      addCriterion("cancelCause between", value1, value2, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andCancelCauseNotBetween(String value1, String value2) {
      addCriterion("cancelCause not between", value1, value2, "cancelCause");
      return (Criteria) this;
    }

    public Criteria andPayTypeIsNull() {
      addCriterion("payType is null");
      return (Criteria) this;
    }

    public Criteria andPayTypeIsNotNull() {
      addCriterion("payType is not null");
      return (Criteria) this;
    }

    public Criteria andPayTypeEqualTo(String value) {
      addCriterion("payType =", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeNotEqualTo(String value) {
      addCriterion("payType <>", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeGreaterThan(String value) {
      addCriterion("payType >", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeGreaterThanOrEqualTo(String value) {
      addCriterion("payType >=", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeLessThan(String value) {
      addCriterion("payType <", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeLessThanOrEqualTo(String value) {
      addCriterion("payType <=", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeLike(String value) {
      addCriterion("payType like", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeNotLike(String value) {
      addCriterion("payType not like", value, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeIn(List<String> values) {
      addCriterion("payType in", values, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeNotIn(List<String> values) {
      addCriterion("payType not in", values, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeBetween(String value1, String value2) {
      addCriterion("payType between", value1, value2, "payType");
      return (Criteria) this;
    }

    public Criteria andPayTypeNotBetween(String value1, String value2) {
      addCriterion("payType not between", value1, value2, "payType");
      return (Criteria) this;
    }

    public Criteria andLasturgeIsNull() {
      addCriterion("lasturge is null");
      return (Criteria) this;
    }

    public Criteria andLasturgeIsNotNull() {
      addCriterion("lasturge is not null");
      return (Criteria) this;
    }

    public Criteria andLasturgeEqualTo(Date value) {
      addCriterion("lasturge =", value, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeNotEqualTo(Date value) {
      addCriterion("lasturge <>", value, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeGreaterThan(Date value) {
      addCriterion("lasturge >", value, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeGreaterThanOrEqualTo(Date value) {
      addCriterion("lasturge >=", value, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeLessThan(Date value) {
      addCriterion("lasturge <", value, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeLessThanOrEqualTo(Date value) {
      addCriterion("lasturge <=", value, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeIn(List<Date> values) {
      addCriterion("lasturge in", values, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeNotIn(List<Date> values) {
      addCriterion("lasturge not in", values, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeBetween(Date value1, Date value2) {
      addCriterion("lasturge between", value1, value2, "lasturge");
      return (Criteria) this;
    }

    public Criteria andLasturgeNotBetween(Date value1, Date value2) {
      addCriterion("lasturge not between", value1, value2, "lasturge");
      return (Criteria) this;
    }

    public Criteria andStartWaitIsNull() {
      addCriterion("startWait is null");
      return (Criteria) this;
    }

    public Criteria andStartWaitIsNotNull() {
      addCriterion("startWait is not null");
      return (Criteria) this;
    }

    public Criteria andStartWaitEqualTo(Integer value) {
      addCriterion("startWait =", value, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitNotEqualTo(Integer value) {
      addCriterion("startWait <>", value, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitGreaterThan(Integer value) {
      addCriterion("startWait >", value, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitGreaterThanOrEqualTo(Integer value) {
      addCriterion("startWait >=", value, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitLessThan(Integer value) {
      addCriterion("startWait <", value, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitLessThanOrEqualTo(Integer value) {
      addCriterion("startWait <=", value, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitIn(List<Integer> values) {
      addCriterion("startWait in", values, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitNotIn(List<Integer> values) {
      addCriterion("startWait not in", values, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitBetween(Integer value1, Integer value2) {
      addCriterion("startWait between", value1, value2, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartWaitNotBetween(Integer value1, Integer value2) {
      addCriterion("startWait not between", value1, value2, "startWait");
      return (Criteria) this;
    }

    public Criteria andStartAddressIsNull() {
      addCriterion("startAddress is null");
      return (Criteria) this;
    }

    public Criteria andStartAddressIsNotNull() {
      addCriterion("startAddress is not null");
      return (Criteria) this;
    }

    public Criteria andStartAddressEqualTo(String value) {
      addCriterion("startAddress =", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressNotEqualTo(String value) {
      addCriterion("startAddress <>", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressGreaterThan(String value) {
      addCriterion("startAddress >", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressGreaterThanOrEqualTo(String value) {
      addCriterion("startAddress >=", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressLessThan(String value) {
      addCriterion("startAddress <", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressLessThanOrEqualTo(String value) {
      addCriterion("startAddress <=", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressDetailLike(String value) {
      addCriterion("startAddressDetail like", value, "startAddressDetail");
      return (Criteria) this;
    }

    public Criteria andStartAddressLike(String value) {
      addCriterion("startAddress like", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressNotLike(String value) {
      addCriterion("startAddress not like", value, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressIn(List<String> values) {
      addCriterion("startAddress in", values, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressNotIn(List<String> values) {
      addCriterion("startAddress not in", values, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressBetween(String value1, String value2) {
      addCriterion("startAddress between", value1, value2, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartAddressNotBetween(String value1, String value2) {
      addCriterion("startAddress not between", value1, value2, "startAddress");
      return (Criteria) this;
    }

    public Criteria andStartLatIsNull() {
      addCriterion("startLat is null");
      return (Criteria) this;
    }

    public Criteria andStartLatIsNotNull() {
      addCriterion("startLat is not null");
      return (Criteria) this;
    }

    public Criteria andStartLatEqualTo(Double value) {
      addCriterion("startLat =", value, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatNotEqualTo(Double value) {
      addCriterion("startLat <>", value, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatGreaterThan(Double value) {
      addCriterion("startLat >", value, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatGreaterThanOrEqualTo(Double value) {
      addCriterion("startLat >=", value, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatLessThan(Double value) {
      addCriterion("startLat <", value, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatLessThanOrEqualTo(Double value) {
      addCriterion("startLat <=", value, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatIn(List<Double> values) {
      addCriterion("startLat in", values, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatNotIn(List<Double> values) {
      addCriterion("startLat not in", values, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatBetween(Double value1, Double value2) {
      addCriterion("startLat between", value1, value2, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLatNotBetween(Double value1, Double value2) {
      addCriterion("startLat not between", value1, value2, "startLat");
      return (Criteria) this;
    }

    public Criteria andStartLngIsNull() {
      addCriterion("startLng is null");
      return (Criteria) this;
    }

    public Criteria andStartLngIsNotNull() {
      addCriterion("startLng is not null");
      return (Criteria) this;
    }

    public Criteria andStartLngEqualTo(Double value) {
      addCriterion("startLng =", value, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngNotEqualTo(Double value) {
      addCriterion("startLng <>", value, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngGreaterThan(Double value) {
      addCriterion("startLng >", value, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngGreaterThanOrEqualTo(Double value) {
      addCriterion("startLng >=", value, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngLessThan(Double value) {
      addCriterion("startLng <", value, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngLessThanOrEqualTo(Double value) {
      addCriterion("startLng <=", value, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngIn(List<Double> values) {
      addCriterion("startLng in", values, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngNotIn(List<Double> values) {
      addCriterion("startLng not in", values, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngBetween(Double value1, Double value2) {
      addCriterion("startLng between", value1, value2, "startLng");
      return (Criteria) this;
    }

    public Criteria andStartLngNotBetween(Double value1, Double value2) {
      addCriterion("startLng not between", value1, value2, "startLng");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitIsNull() {
      addCriterion("midwayWait is null");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitIsNotNull() {
      addCriterion("midwayWait is not null");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitEqualTo(Integer value) {
      addCriterion("midwayWait =", value, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitNotEqualTo(Integer value) {
      addCriterion("midwayWait <>", value, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitGreaterThan(Integer value) {
      addCriterion("midwayWait >", value, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitGreaterThanOrEqualTo(Integer value) {
      addCriterion("midwayWait >=", value, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitLessThan(Integer value) {
      addCriterion("midwayWait <", value, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitLessThanOrEqualTo(Integer value) {
      addCriterion("midwayWait <=", value, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitIn(List<Integer> values) {
      addCriterion("midwayWait in", values, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitNotIn(List<Integer> values) {
      addCriterion("midwayWait not in", values, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitBetween(Integer value1, Integer value2) {
      addCriterion("midwayWait between", value1, value2, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andMidwayWaitNotBetween(Integer value1, Integer value2) {
      addCriterion("midwayWait not between", value1, value2, "midwayWait");
      return (Criteria) this;
    }

    public Criteria andEndAddressIsNull() {
      addCriterion("endAddress is null");
      return (Criteria) this;
    }

    public Criteria andEndAddressIsNotNull() {
      addCriterion("endAddress is not null");
      return (Criteria) this;
    }

    public Criteria andEndAddressEqualTo(String value) {
      addCriterion("endAddress =", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressNotEqualTo(String value) {
      addCriterion("endAddress <>", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressGreaterThan(String value) {
      addCriterion("endAddress >", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressGreaterThanOrEqualTo(String value) {
      addCriterion("endAddress >=", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressLessThan(String value) {
      addCriterion("endAddress <", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressLessThanOrEqualTo(String value) {
      addCriterion("endAddress <=", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressLike(String value) {
      addCriterion("endAddress like", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddress_detailLike(String value) {
      addCriterion("endAddressDetail like", value, "endAddressDetail");
      return (Criteria) this;
    }

    public Criteria andEndAddressNotLike(String value) {
      addCriterion("endAddress not like", value, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressIn(List<String> values) {
      addCriterion("endAddress in", values, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressNotIn(List<String> values) {
      addCriterion("endAddress not in", values, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressBetween(String value1, String value2) {
      addCriterion("endAddress between", value1, value2, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressNotBetween(String value1, String value2) {
      addCriterion("endAddress not between", value1, value2, "endAddress");
      return (Criteria) this;
    }

    public Criteria andEndLatIsNull() {
      addCriterion("endLat is null");
      return (Criteria) this;
    }

    public Criteria andEndLatIsNotNull() {
      addCriterion("endLat is not null");
      return (Criteria) this;
    }

    public Criteria andEndLatEqualTo(Double value) {
      addCriterion("endLat =", value, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatNotEqualTo(Double value) {
      addCriterion("endLat <>", value, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatGreaterThan(Double value) {
      addCriterion("endLat >", value, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatGreaterThanOrEqualTo(Double value) {
      addCriterion("endLat >=", value, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatLessThan(Double value) {
      addCriterion("endLat <", value, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatLessThanOrEqualTo(Double value) {
      addCriterion("endLat <=", value, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatIn(List<Double> values) {
      addCriterion("endLat in", values, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatNotIn(List<Double> values) {
      addCriterion("endLat not in", values, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatBetween(Double value1, Double value2) {
      addCriterion("endLat between", value1, value2, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLatNotBetween(Double value1, Double value2) {
      addCriterion("endLat not between", value1, value2, "endLat");
      return (Criteria) this;
    }

    public Criteria andEndLngIsNull() {
      addCriterion("endLng is null");
      return (Criteria) this;
    }

    public Criteria andEndLngIsNotNull() {
      addCriterion("endLng is not null");
      return (Criteria) this;
    }

    public Criteria andEndLngEqualTo(Double value) {
      addCriterion("endLng =", value, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngNotEqualTo(Double value) {
      addCriterion("endLng <>", value, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngGreaterThan(Double value) {
      addCriterion("endLng >", value, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngGreaterThanOrEqualTo(Double value) {
      addCriterion("endLng >=", value, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngLessThan(Double value) {
      addCriterion("endLng <", value, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngLessThanOrEqualTo(Double value) {
      addCriterion("endLng <=", value, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngIn(List<Double> values) {
      addCriterion("endLng in", values, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngNotIn(List<Double> values) {
      addCriterion("endLng not in", values, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngBetween(Double value1, Double value2) {
      addCriterion("endLng between", value1, value2, "endLng");
      return (Criteria) this;
    }

    public Criteria andEndLngNotBetween(Double value1, Double value2) {
      addCriterion("endLng not between", value1, value2, "endLng");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdIsNull() {
      addCriterion("employCompanyId is null");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdIsNotNull() {
      addCriterion("employCompanyId is not null");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdEqualTo(Long value) {
      addCriterion("employCompanyId =", value, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdNotEqualTo(Long value) {
      addCriterion("employCompanyId <>", value, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdGreaterThan(Long value) {
      addCriterion("employCompanyId >", value, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdGreaterThanOrEqualTo(Long value) {
      addCriterion("employCompanyId >=", value, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdLessThan(Long value) {
      addCriterion("employCompanyId <", value, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdLessThanOrEqualTo(Long value) {
      addCriterion("employCompanyId <=", value, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdIn(List<Long> values) {
      addCriterion("employCompanyId in", values, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdNotIn(List<Long> values) {
      addCriterion("employCompanyId not in", values, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdBetween(Long value1, Long value2) {
      addCriterion("employCompanyId between", value1, value2, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployCompanyIdNotBetween(Long value1, Long value2) {
      addCriterion("employCompanyId not between", value1, value2, "employCompanyId");
      return (Criteria) this;
    }

    public Criteria andEmployProfitIsNull() {
      addCriterion("employProfit is null");
      return (Criteria) this;
    }

    public Criteria andEmployProfitIsNotNull() {
      addCriterion("employProfit is not null");
      return (Criteria) this;
    }

    public Criteria andEmployProfitEqualTo(Double value) {
      addCriterion("employProfit =", value, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitNotEqualTo(Double value) {
      addCriterion("employProfit <>", value, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitGreaterThan(Double value) {
      addCriterion("employProfit >", value, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitGreaterThanOrEqualTo(Double value) {
      addCriterion("employProfit >=", value, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitLessThan(Double value) {
      addCriterion("employProfit <", value, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitLessThanOrEqualTo(Double value) {
      addCriterion("employProfit <=", value, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitIn(List<Double> values) {
      addCriterion("employProfit in", values, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitNotIn(List<Double> values) {
      addCriterion("employProfit not in", values, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitBetween(Double value1, Double value2) {
      addCriterion("employProfit between", value1, value2, "employProfit");
      return (Criteria) this;
    }

    public Criteria andEmployProfitNotBetween(Double value1, Double value2) {
      addCriterion("employProfit not between", value1, value2, "employProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitIsNull() {
      addCriterion("companyProfit is null");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitIsNotNull() {
      addCriterion("companyProfit is not null");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitEqualTo(Double value) {
      addCriterion("companyProfit =", value, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitNotEqualTo(Double value) {
      addCriterion("companyProfit <>", value, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitGreaterThan(Double value) {
      addCriterion("companyProfit >", value, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitGreaterThanOrEqualTo(Double value) {
      addCriterion("companyProfit >=", value, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitLessThan(Double value) {
      addCriterion("companyProfit <", value, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitLessThanOrEqualTo(Double value) {
      addCriterion("companyProfit <=", value, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitIn(List<Double> values) {
      addCriterion("companyProfit in", values, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitNotIn(List<Double> values) {
      addCriterion("companyProfit not in", values, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitBetween(Double value1, Double value2) {
      addCriterion("companyProfit between", value1, value2, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andCompanyProfitNotBetween(Double value1, Double value2) {
      addCriterion("companyProfit not between", value1, value2, "companyProfit");
      return (Criteria) this;
    }

    public Criteria andStartPriceIsNull() {
      addCriterion("startPrice is null");
      return (Criteria) this;
    }

    public Criteria andStartPriceIsNotNull() {
      addCriterion("startPrice is not null");
      return (Criteria) this;
    }

    public Criteria andStartPriceEqualTo(Double value) {
      addCriterion("startPrice =", value, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceNotEqualTo(Double value) {
      addCriterion("startPrice <>", value, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceGreaterThan(Double value) {
      addCriterion("startPrice >", value, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceGreaterThanOrEqualTo(Double value) {
      addCriterion("startPrice >=", value, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceLessThan(Double value) {
      addCriterion("startPrice <", value, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceLessThanOrEqualTo(Double value) {
      addCriterion("startPrice <=", value, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceIn(List<Double> values) {
      addCriterion("startPrice in", values, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceNotIn(List<Double> values) {
      addCriterion("startPrice not in", values, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceBetween(Double value1, Double value2) {
      addCriterion("startPrice between", value1, value2, "startPrice");
      return (Criteria) this;
    }

    public Criteria andStartPriceNotBetween(Double value1, Double value2) {
      addCriterion("startPrice not between", value1, value2, "startPrice");
      return (Criteria) this;
    }

    public Criteria andMileageIsNull() {
      addCriterion("mileage is null");
      return (Criteria) this;
    }

    public Criteria andMileageIsNotNull() {
      addCriterion("mileage is not null");
      return (Criteria) this;
    }

    public Criteria andMileageEqualTo(Double value) {
      addCriterion("mileage =", value, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageNotEqualTo(Double value) {
      addCriterion("mileage <>", value, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageGreaterThan(Double value) {
      addCriterion("mileage >", value, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageGreaterThanOrEqualTo(Double value) {
      addCriterion("mileage >=", value, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageLessThan(Double value) {
      addCriterion("mileage <", value, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageLessThanOrEqualTo(Double value) {
      addCriterion("mileage <=", value, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageIn(List<Double> values) {
      addCriterion("mileage in", values, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageNotIn(List<Double> values) {
      addCriterion("mileage not in", values, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageBetween(Double value1, Double value2) {
      addCriterion("mileage between", value1, value2, "mileage");
      return (Criteria) this;
    }

    public Criteria andMileageNotBetween(Double value1, Double value2) {
      addCriterion("mileage not between", value1, value2, "mileage");
      return (Criteria) this;
    }

    public Criteria andRunTimeIsNull() {
      addCriterion("runTime is null");
      return (Criteria) this;
    }

    public Criteria andRunTimeIsNotNull() {
      addCriterion("runTime is not null");
      return (Criteria) this;
    }

    public Criteria andRunTimeEqualTo(Integer value) {
      addCriterion("runTime =", value, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeNotEqualTo(Integer value) {
      addCriterion("runTime <>", value, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeGreaterThan(Integer value) {
      addCriterion("runTime >", value, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeGreaterThanOrEqualTo(Integer value) {
      addCriterion("runTime >=", value, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeLessThan(Integer value) {
      addCriterion("runTime <", value, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeLessThanOrEqualTo(Integer value) {
      addCriterion("runTime <=", value, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeIn(List<Integer> values) {
      addCriterion("runTime in", values, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeNotIn(List<Integer> values) {
      addCriterion("runTime not in", values, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeBetween(Integer value1, Integer value2) {
      addCriterion("runTime between", value1, value2, "runTime");
      return (Criteria) this;
    }

    public Criteria andRunTimeNotBetween(Integer value1, Integer value2) {
      addCriterion("runTime not between", value1, value2, "runTime");
      return (Criteria) this;
    }

    public Criteria andMileagePriceIsNull() {
      addCriterion("mileagePrice is null");
      return (Criteria) this;
    }

    public Criteria andMileagePriceIsNotNull() {
      addCriterion("mileagePrice is not null");
      return (Criteria) this;
    }

    public Criteria andMileagePriceEqualTo(Double value) {
      addCriterion("mileagePrice =", value, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceNotEqualTo(Double value) {
      addCriterion("mileagePrice <>", value, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceGreaterThan(Double value) {
      addCriterion("mileagePrice >", value, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceGreaterThanOrEqualTo(Double value) {
      addCriterion("mileagePrice >=", value, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceLessThan(Double value) {
      addCriterion("mileagePrice <", value, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceLessThanOrEqualTo(Double value) {
      addCriterion("mileagePrice <=", value, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceIn(List<Double> values) {
      addCriterion("mileagePrice in", values, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceNotIn(List<Double> values) {
      addCriterion("mileagePrice not in", values, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceBetween(Double value1, Double value2) {
      addCriterion("mileagePrice between", value1, value2, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andMileagePriceNotBetween(Double value1, Double value2) {
      addCriterion("mileagePrice not between", value1, value2, "mileagePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceIsNull() {
      addCriterion("runTimePrice is null");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceIsNotNull() {
      addCriterion("runTimePrice is not null");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceEqualTo(Double value) {
      addCriterion("runTimePrice =", value, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceNotEqualTo(Double value) {
      addCriterion("runTimePrice <>", value, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceGreaterThan(Double value) {
      addCriterion("runTimePrice >", value, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceGreaterThanOrEqualTo(Double value) {
      addCriterion("runTimePrice >=", value, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceLessThan(Double value) {
      addCriterion("runTimePrice <", value, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceLessThanOrEqualTo(Double value) {
      addCriterion("runTimePrice <=", value, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceIn(List<Double> values) {
      addCriterion("runTimePrice in", values, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceNotIn(List<Double> values) {
      addCriterion("runTimePrice not in", values, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceBetween(Double value1, Double value2) {
      addCriterion("runTimePrice between", value1, value2, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andRunTimePriceNotBetween(Double value1, Double value2) {
      addCriterion("runTimePrice not between", value1, value2, "runTimePrice");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyIsNull() {
      addCriterion("couponMoney is null");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyIsNotNull() {
      addCriterion("couponMoney is not null");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyEqualTo(Double value) {
      addCriterion("couponMoney =", value, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyNotEqualTo(Double value) {
      addCriterion("couponMoney <>", value, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyGreaterThan(Double value) {
      addCriterion("couponMoney >", value, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyGreaterThanOrEqualTo(Double value) {
      addCriterion("couponMoney >=", value, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyLessThan(Double value) {
      addCriterion("couponMoney <", value, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyLessThanOrEqualTo(Double value) {
      addCriterion("couponMoney <=", value, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyIn(List<Double> values) {
      addCriterion("couponMoney in", values, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyNotIn(List<Double> values) {
      addCriterion("couponMoney not in", values, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyBetween(Double value1, Double value2) {
      addCriterion("couponMoney between", value1, value2, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andCouponMoneyNotBetween(Double value1, Double value2) {
      addCriterion("couponMoney not between", value1, value2, "couponMoney");
      return (Criteria) this;
    }

    public Criteria andBudgetPayIsNull() {
      addCriterion("budgetPay is null");
      return (Criteria) this;
    }

    public Criteria andBudgetPayIsNotNull() {
      addCriterion("budgetPay is not null");
      return (Criteria) this;
    }

    public Criteria andBudgetPayEqualTo(Double value) {
      addCriterion("budgetPay =", value, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayNotEqualTo(Double value) {
      addCriterion("budgetPay <>", value, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayGreaterThan(Double value) {
      addCriterion("budgetPay >", value, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayGreaterThanOrEqualTo(Double value) {
      addCriterion("budgetPay >=", value, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayLessThan(Double value) {
      addCriterion("budgetPay <", value, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayLessThanOrEqualTo(Double value) {
      addCriterion("budgetPay <=", value, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayIn(List<Double> values) {
      addCriterion("budgetPay in", values, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayNotIn(List<Double> values) {
      addCriterion("budgetPay not in", values, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayBetween(Double value1, Double value2) {
      addCriterion("budgetPay between", value1, value2, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andBudgetPayNotBetween(Double value1, Double value2) {
      addCriterion("budgetPay not between", value1, value2, "budgetPay");
      return (Criteria) this;
    }

    public Criteria andRealPayIsNull() {
      addCriterion("realPay is null");
      return (Criteria) this;
    }

    public Criteria andRealPayIsNotNull() {
      addCriterion("realPay is not null");
      return (Criteria) this;
    }

    public Criteria andRealPayEqualTo(Double value) {
      addCriterion("realPay =", value, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayNotEqualTo(Double value) {
      addCriterion("realPay <>", value, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayGreaterThan(Double value) {
      addCriterion("realPay >", value, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayGreaterThanOrEqualTo(Double value) {
      addCriterion("realPay >=", value, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayLessThan(Double value) {
      addCriterion("realPay <", value, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayLessThanOrEqualTo(Double value) {
      addCriterion("realPay <=", value, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayIn(List<Double> values) {
      addCriterion("realPay in", values, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayNotIn(List<Double> values) {
      addCriterion("realPay not in", values, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayBetween(Double value1, Double value2) {
      addCriterion("realPay between", value1, value2, "realPay");
      return (Criteria) this;
    }

    public Criteria andRealPayNotBetween(Double value1, Double value2) {
      addCriterion("realPay not between", value1, value2, "realPay");
      return (Criteria) this;
    }

    public Criteria andCashMoneyIsNull() {
      addCriterion("cashMoney is null");
      return (Criteria) this;
    }

    public Criteria andCashMoneyIsNotNull() {
      addCriterion("cashMoney is not null");
      return (Criteria) this;
    }

    public Criteria andCashMoneyEqualTo(Double value) {
      addCriterion("cashMoney =", value, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyNotEqualTo(Double value) {
      addCriterion("cashMoney <>", value, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyGreaterThan(Double value) {
      addCriterion("cashMoney >", value, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyGreaterThanOrEqualTo(Double value) {
      addCriterion("cashMoney >=", value, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyLessThan(Double value) {
      addCriterion("cashMoney <", value, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyLessThanOrEqualTo(Double value) {
      addCriterion("cashMoney <=", value, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyIn(List<Double> values) {
      addCriterion("cashMoney in", values, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyNotIn(List<Double> values) {
      addCriterion("cashMoney not in", values, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyBetween(Double value1, Double value2) {
      addCriterion("cashMoney between", value1, value2, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andCashMoneyNotBetween(Double value1, Double value2) {
      addCriterion("cashMoney not between", value1, value2, "cashMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyIsNull() {
      addCriterion("signMoney is null");
      return (Criteria) this;
    }

    public Criteria andSignMoneyIsNotNull() {
      addCriterion("signMoney is not null");
      return (Criteria) this;
    }

    public Criteria andSignMoneyEqualTo(Double value) {
      addCriterion("signMoney =", value, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyNotEqualTo(Double value) {
      addCriterion("signMoney <>", value, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyGreaterThan(Double value) {
      addCriterion("signMoney >", value, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyGreaterThanOrEqualTo(Double value) {
      addCriterion("signMoney >=", value, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyLessThan(Double value) {
      addCriterion("signMoney <", value, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyLessThanOrEqualTo(Double value) {
      addCriterion("signMoney <=", value, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyIn(List<Double> values) {
      addCriterion("signMoney in", values, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyNotIn(List<Double> values) {
      addCriterion("signMoney not in", values, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyBetween(Double value1, Double value2) {
      addCriterion("signMoney between", value1, value2, "signMoney");
      return (Criteria) this;
    }

    public Criteria andSignMoneyNotBetween(Double value1, Double value2) {
      addCriterion("signMoney not between", value1, value2, "signMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyIsNull() {
      addCriterion("balanceMoney is null");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyIsNotNull() {
      addCriterion("balanceMoney is not null");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyEqualTo(Double value) {
      addCriterion("balanceMoney =", value, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyNotEqualTo(Double value) {
      addCriterion("balanceMoney <>", value, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyGreaterThan(Double value) {
      addCriterion("balanceMoney >", value, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyGreaterThanOrEqualTo(Double value) {
      addCriterion("balanceMoney >=", value, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyLessThan(Double value) {
      addCriterion("balanceMoney <", value, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyLessThanOrEqualTo(Double value) {
      addCriterion("balanceMoney <=", value, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyIn(List<Double> values) {
      addCriterion("balanceMoney in", values, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyNotIn(List<Double> values) {
      addCriterion("balanceMoney not in", values, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyBetween(Double value1, Double value2) {
      addCriterion("balanceMoney between", value1, value2, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andBalanceMoneyNotBetween(Double value1, Double value2) {
      addCriterion("balanceMoney not between", value1, value2, "balanceMoney");
      return (Criteria) this;
    }

    public Criteria andServerTimeIsNull() {
      addCriterion("serverTime is null");
      return (Criteria) this;
    }

    public Criteria andServerTimeIsNotNull() {
      addCriterion("serverTime is not null");
      return (Criteria) this;
    }

    public Criteria andServerTimeEqualTo(Date value) {
      addCriterion("serverTime =", value, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeNotEqualTo(Date value) {
      addCriterion("serverTime <>", value, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeGreaterThan(Date value) {
      addCriterion("serverTime >", value, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeGreaterThanOrEqualTo(Date value) {
      addCriterion("serverTime >=", value, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeLessThan(Date value) {
      addCriterion("serverTime <", value, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeLessThanOrEqualTo(Date value) {
      addCriterion("serverTime <=", value, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeIn(List<Date> values) {
      addCriterion("serverTime in", values, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeNotIn(List<Date> values) {
      addCriterion("serverTime not in", values, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeBetween(Date value1, Date value2) {
      addCriterion("serverTime between", value1, value2, "serverTime");
      return (Criteria) this;
    }

    public Criteria andServerTimeNotBetween(Date value1, Date value2) {
      addCriterion("serverTime not between", value1, value2, "serverTime");
      return (Criteria) this;
    }

    public Criteria andOrderNoLikeInsensitive(String value) {
      addCriterion("upper(orderNo) like", value.toUpperCase(), "orderNo");
      return (Criteria) this;
    }

    public Criteria andPassengerNameLikeInsensitive(String value) {
      addCriterion("upper(passengerName) like", value.toUpperCase(), "passengerName");
      return (Criteria) this;
    }

    public Criteria andPassengerPhoneLikeInsensitive(String value) {
      addCriterion("upper(passengerPhone) like", value.toUpperCase(), "passengerPhone");
      return (Criteria) this;
    }

    public Criteria andCarNumberLikeInsensitive(String value) {
      addCriterion("upper(carNumber) like", value.toUpperCase(), "carNumber");
      return (Criteria) this;
    }

    public Criteria andChannelNameLikeInsensitive(String value) {
      addCriterion("upper(channelName) like", value.toUpperCase(), "channelName");
      return (Criteria) this;
    }

    public Criteria andEmployNameLikeInsensitive(String value) {
      addCriterion("upper(employName) like", value.toUpperCase(), "employName");
      return (Criteria) this;
    }

    public Criteria andEmployPhoneLikeInsensitive(String value) {
      addCriterion("upper(employPhone) like", value.toUpperCase(), "employPhone");
      return (Criteria) this;
    }

    public Criteria andCompanyNameLikeInsensitive(String value) {
      addCriterion("upper(companyName) like", value.toUpperCase(), "companyName");
      return (Criteria) this;
    }

    public Criteria andAppkeyLikeInsensitive(String value) {
      addCriterion("upper(appkey) like", value.toUpperCase(), "appkey");
      return (Criteria) this;
    }

    public Criteria andCancelCauseLikeInsensitive(String value) {
      addCriterion("upper(cancelCause) like", value.toUpperCase(), "cancelCause");
      return (Criteria) this;
    }

    public Criteria andPayTypeLikeInsensitive(String value) {
      addCriterion("upper(payType) like", value.toUpperCase(), "payType");
      return (Criteria) this;
    }

    public Criteria andStartAddressLikeInsensitive(String value) {
      addCriterion("upper(startAddress) like", value.toUpperCase(), "startAddress");
      return (Criteria) this;
    }

    public Criteria andEndAddressLikeInsensitive(String value) {
      addCriterion("upper(endAddress) like", value.toUpperCase(), "endAddress");
      return (Criteria) this;
    }
  }

  public static class Criteria extends GeneratedCriteria {

    protected Criteria() {
      super();
    }
  }

  public static class Criterion {
    private String condition;

    private Object value;

    private Object secondValue;

    private boolean noValue;

    private boolean singleValue;

    private boolean betweenValue;

    private boolean listValue;

    private String typeHandler;

    public String getCondition() {
      return condition;
    }

    public Object getValue() {
      return value;
    }

    public Object getSecondValue() {
      return secondValue;
    }

    public boolean isNoValue() {
      return noValue;
    }

    public boolean isSingleValue() {
      return singleValue;
    }

    public boolean isBetweenValue() {
      return betweenValue;
    }

    public boolean isListValue() {
      return listValue;
    }

    public String getTypeHandler() {
      return typeHandler;
    }

    protected Criterion(String condition) {
      super();
      this.condition = condition;
      this.typeHandler = null;
      this.noValue = true;
    }

    protected Criterion(String condition, Object value, String typeHandler) {
      super();
      this.condition = condition;
      this.value = value;
      this.typeHandler = typeHandler;
      if (value instanceof List<?>) {
        this.listValue = true;
      } else {
        this.singleValue = true;
      }
    }

    protected Criterion(String condition, Object value) {
      this(condition, value, null);
    }

    protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
      super();
      this.condition = condition;
      this.value = value;
      this.secondValue = secondValue;
      this.typeHandler = typeHandler;
      this.betweenValue = true;
    }

    protected Criterion(String condition, Object value, Object secondValue) {
      this(condition, value, secondValue, null);
    }
  }
}
